package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.SysFaultFeedback;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 故障反馈视图对象 sys_fault_feedback
 *
 * @author system
 * @date 2025-10-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysFaultFeedback.class)
public class SysFaultFeedbackVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 反馈ID
     */
    @ExcelProperty(value = "反馈ID")
    private Long feedbackId;

    /**
     * 机型
     */
    @ExcelProperty(value = "机型")
    private String excavatorModel;

    /**
     * 故障部分
     */
    @ExcelProperty(value = "故障部分")
    private String faultPart;

    /**
     * 故障现象
     */
    @ExcelProperty(value = "故障现象")
    private String faultSymptom;

    /**
     * 详细故障描述
     */
    @ExcelProperty(value = "详细故障描述")
    private String faultDetail;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String remark;

    /**
     * 图片URL列表
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private List<String> imageUrls;

    /**
     * 状态：PENDING-待审核，APPROVED-通过，REJECTED-驳回
     */
    @ExcelProperty(value = "状态")
    private String status;

    /**
     * 状态名称
     */
    private String statusName;

    /**
     * 审核意见
     */
    @ExcelProperty(value = "审核意见")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String auditRemark;

    /**
     * 审核人姓名
     */
    @ExcelProperty(value = "审核人")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String auditByName;

    /**
     * 审核时间
     */
    @ExcelProperty(value = "审核时间")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Date auditTime;

}

